package com.xhwl.centiotdata.pojo.dto.huawei;

import lombok.Data;

import java.util.List;

/**
 * Falcon.cao @Copyright (C), 2022, 兴海物联
 * Date: 2022/6/21 13:51
 * Description: 包信息
 */
@Data
public class IVS3800NotificationDTO {

    private List<IVS3800NotificationData> data;

    @Data
    public static class IVS3800NotificationData {
        private IVS3800NotificationCommonsInfo commonInfo;
        private IVS3800NotificationPrivateInfo privateInfo;
    }

    @Data
    public static class IVS3800NotificationCommonsInfo {
        private String taskId;
        private String cameraId;
        private String cameraCNCode;    // 摄像机互联编码
        private String cameraName;
        private String vstationSn;
        private String vstationName;
        private String alarmType;
        private String alarmId;
        private Integer objectType;
    }

    @Data
    public static class IVS3800NotificationPrivateInfo {
        private IVS3800NotificationMetaData metaData;
        private IVS3800NotificationMetaPic pic;
    }

    @Data
    public static class IVS3800NotificationMetaData {
        private IVS3800NotificationMetaAttributes attributes;
    }

    @Data
    public static class IVS3800NotificationMetaPic {
        private String imageUrl;
    }

    @Data
    public static class IVS3800NotificationMetaAttributes {
        private String pnr;
        private String cartype;
        private Integer direc;
    }

}
